namespace Apps.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("V_CY_CURRENTCOAL")]
    public partial class V_CY_CURRENTCOAL
    {
        [Key]
        [Column(Order = 0)]
        [StringLength(40)]
        public string DETAIL_ID { get; set; }

        [Key]
        [Column(Order = 1)]
        [StringLength(40)]
        public string BATCH_CODE { get; set; }

        [Key]
        [Column(Order = 2)]
        public decimal TOTAL { get; set; }

        [Key]
        [Column(Order = 3)]
        public decimal SAVE_AMOUNT { get; set; }

        public bool? COALYARD { get; set; }

        [StringLength(6)]
        public string COALYARD_STR { get; set; }

        [StringLength(40)]
        public string SAVE_POSITION { get; set; }

        [Key]
        [Column(Order = 4)]
        [StringLength(40)]
        public string LAST_CODE { get; set; }

        [StringLength(80)]
        public string LAST_DETAIL { get; set; }

        [Key]
        [Column(Order = 5)]
        [StringLength(40)]
        public string RANGE { get; set; }

        [Key]
        [Column(Order = 6)]
        public byte LENGTH { get; set; }

        public byte? WIDTH { get; set; }

        public byte? HEIGHT { get; set; }

        public decimal? OUT_AMOUNT { get; set; }

        public decimal? CURRENT_AMOUNT { get; set; }
        public decimal? WEIGHT { get; set; }

        public string MATERIEL_NAME{ get; set; }
       public string SUPPLIER_NAME{ get; set; }
       public string MINE_NAME{ get; set; }
       public decimal? MT{ get; set; }
       public decimal? AAR{ get; set; }
       public decimal? VDAF{ get; set; }
       public decimal? STAR{ get; set; }
       public decimal? QNETAR_KCAL { get; set; }
    }
}
